//
//  MovieViewController.h
//  chronik01
//
//  Created by conrad on 13.03.11.
//  Copyright 2011 roboboogie.us. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import "HomeButtonView.h"


@interface MovieViewController : UIViewController <HomeButtonViewDelegate> {
	MPMoviePlayerController *theMovie;
}

@property (nonatomic,retain) MPMoviePlayerController *theMovie;

- (id)initWithMovieName:(NSString*)name type:(NSString*)movieType rect:(CGRect)rect;

- (void) loadMovieAtURL:(NSURL*)theURL rect:(CGRect)rect;

- (void) play;

- (void) stopAndDestroy;
@end
